﻿using AutoWiring.Common;

namespace AutoWiring.Model;

public class ZhiJiaModel
{
    public ZhiJiaModel()
    {
    }

    public ZhiJiaModel(bool isLeftSide, bool isRightSide, XYZ location, string name)
    {
        this.isLeftSide = isLeftSide;
        this.isRightSide = isRightSide;
        Location = location;
        Name = name;
    }

    /// <summary>
    /// 支架名称
    /// </summary>
    public string Name { get; set; }

    public string BYQ { get; set; }

    /// <summary>
    /// 支架坐标位置
    /// </summary>
    public XYZ Location { get; set; }

    /// <summary>
    /// 是否占用左侧
    /// </summary>
    public bool isLeftSide { get; set; } = false;

    /// <summary>
    /// 是否占用右侧
    /// </summary>
    public bool isRightSide { get; set; } = false;
}